import 'package:get/get.dart';
import 'package:yt_devops/resources/str_res_keys.dart';

class EsPowerStatisticsFullscreenChartController extends GetxController {
    List<String> paramList = [
        ResKey.chargingCapacity.tr,
        'siteMonitor.disChargingCapacity'.tr,
        ResKey.income.tr,
    ];
    List<dynamic> chargePower = [];//充电量
    List<dynamic> dischargePower = [];//放电量
    List<dynamic> profit = [];//收益
    @override
    void onInit() {
    super.onInit();
    if(Get.arguments != null){
        if(Get.arguments['chargePower'] != null){
            chargePower = Get.arguments['chargePower'];
        }
        if(Get.arguments['dischargePower'] != null){
            dischargePower = Get.arguments['dischargePower'];
        }
        if(Get.arguments['profit'] != null){
            profit = Get.arguments['profit'];
        }
      }
    }

    @override
    void onReady() {}

    @override
    void onClose() {}

}
